package com.kingdee.eas.basedata.master.material;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class MaterialFactory
{
    private MaterialFactory()
    {
    }
    public static com.kingdee.eas.basedata.master.material.IMaterial getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.basedata.master.material.IMaterial)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("4409E7F0") ,com.kingdee.eas.basedata.master.material.IMaterial.class);
    }
    
    public static com.kingdee.eas.basedata.master.material.IMaterial getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.basedata.master.material.IMaterial)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("4409E7F0") ,com.kingdee.eas.basedata.master.material.IMaterial.class, objectCtx);
    }
    public static com.kingdee.eas.basedata.master.material.IMaterial getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.basedata.master.material.IMaterial)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("4409E7F0"));
    }
    public static com.kingdee.eas.basedata.master.material.IMaterial getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.basedata.master.material.IMaterial)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("4409E7F0"));
    }
}